
<div class="form-group">
    <label class="col-sm-3 control-label">姓名 <span class="asterisk">*</span></label>
    <div class="col-sm-6">
        <input type="text" class="form-control" name="name" id="tag" value="{{ $data['name'] }}" autofocus>
    </div>
</div>

<div class="form-group">
    <label class="col-sm-3 control-label">身份证 <span class="asterisk">*</span></label>
    <div class="col-sm-6">
        <input type="text" class="form-control" name="code" id="tag" value="{{ $data['code'] }}" autofocus>
    </div>
</div>

<div class="form-group">
    <label class="col-sm-3 control-label">家庭地址 <span class="asterisk">*</span></label>
    <div class="col-sm-6">
        <input type="text" class="form-control" name="address" id="tag" value="{{ $data['address'] }}" autofocus>
    </div>
</div>

<div class="form-group">
    <label for="tag" class="col-md-3 control-label">病区</label>
    <div class="col-md-5">
        <select class="classType form-control bingqu_list" name="bingqu_id">

            <option  value="0">请选择病区</option>
            @if(!empty($bingqu))
                @foreach($bingqu as $v)
                    <option value="{{$v->id}}" {{ ($v->id==$data['bingqu_id'])?'selected':'' }} >{{$v->name}}</option>
                @endforeach
            @endif
        </select>
    </div>
</div>
<div class="form-group">
    <label for="tag" class="col-md-3 control-label">选择病区</label>
    <div class="col-md-5">
        <select class="classType form-control bingchuang_list" name="bingchuang_id" >
            <option  value="0">请选择病床</option>
            @if(!empty($bingchuang))
                @foreach($bingchuang as $v)
                    <option value="{{$v->id}}" {{ ($v->id==$data['bingchuang_id'])?'selected':'' }} >{{$v->code}}</option>
                @endforeach
            @endif
        </select>
    </div>
</div>


<div class="form-group">
    <label for="tag" class="col-md-3 control-label">设备号</label>
    <div class="col-md-5">
        <select class="classType form-control " name="shebei" {{ $data['shebei']!=0 ? 'disabled' : '' }} >
            <option  value="0">请选择设备号</option>
            @if(!empty($shebei))
                @foreach($shebei as $v)
                    <option value="{{$v->id}}" {{ ($v->id==$data['shebei'])?'selected':'' }} >{{$v->code}}</option>
                @endforeach
            @endif
        </select>
    </div>
</div>